<?php

class Ext_Forms_EditUser extends Ext_Forms_BasicForm
{

    
    public function init()
    {
        parent::init();
        $element = new Zend_Form_Element_Text( 'username' );
        $element->setLabel( 'Usuario' )->setRequired( true )->addValidator( 'NotEmpty' );
        $this->addElement( $element );
        
        $element = new Zend_Form_Element_Password( 'password' );
        $element->setLabel( 'Ingrese la clave del usuario para modificarla' );
        $this->addElement( $element );
        
        $element = new Zend_Form_Element_Password( 'password2' );
        $element->setLabel( 'Repita la clave del usuario' );
        $this->addElement( $element );
        
        $element = new Zend_Form_Element_Checkbox( 'locked' );
        $element->setLabel( 'Usuario desactivado' );
        $this->addElement( $element );
    }
}
